<%@page contentType="text/xml; charset= UTF-8"%> 
<%@page language="java" pageEncoding="UTF-8"%>
<%@page import="orest.front.unit.UnitAction"%>
<%@page import="orest.common.util.CachedObject"%>
<%@page import="orest.common.util.CacheManager"%>


<%  //request.setCharacterEncoding ("gbk");
   
   
    String keyword = request.getParameter ("keyword");
       
    /* page number */
    String no = request.getParameter ("no");
    int   pageno = 1;
    if(no != null)
        pageno = Integer.parseInt (no);
    
    /* record number */
    String count = request.getParameter ("count");
    int   record = 20;
    if(count != null)
        record = Integer.parseInt (count);    
    
    UnitAction obj = new UnitAction();
    String str = "";
    
    str = obj.findUnitByCondition(keyword, pageno, record,0);
    out.clear();
    out.println (str);
    
%>